package com.zzy.pro.report.domain.item;

import java.io.Serializable;

/**
 * ${table.cnName?if_exists}
 * ${table.tabelName?if_exists}表
 * @author zzy
 * 
 */
public class ${table.className} implements Serializable {
<#list table.cloums as c>
	@Column(name = "${c.cloumName}")
	private ${c.javaType} ${c.propertyName}; <#if c.cnName??>// ${c.cnName}</#if>
	
</#list>

<#list table.cloums as c>
	<#if c.cnName??>
	/**
     * 获取${c.cnName}属性
     *
     * @return ${c.propertyName}
     */
    </#if>
	public ${c.javaType} get${c.methodName}() {
		return ${c.propertyName};
	}
	
	<#if c.cnName??>
	/**
	 * 设置${c.cnName}属性
	 *
	 * @param ${c.propertyName}
	 */
	</#if>
	public void set${c.methodName}(${c.javaType} ${c.propertyName}) {
		this.${c.propertyName} = ${c.propertyName};
	}
	
</#list>

<!--
	@Override
    public String toString() {
        final StringBuilder sb = new StringBuilder();
        sb.append("${table.className}");
        <#list table.cloums as c>
        sb.append("<#if c_index==0>{</#if><#if c_index!=0>, </#if>${c.propertyName}=").append(${c.propertyName});
        </#list>
		sb.append('}');
        return sb.toString();
    }
    -->
}